package demo1.Assignment1;

/**
 * 构建NpuInfo类，该类中三个成员变量：
 * name：”西北工业大学”
 * address：” 西安市友谊西路127号”
 * telephone：”029-88494433”
 * 在系统中均不会发生变化，请采用单例模式构建该类。
 */
public class Programmer {
    public static void main(String[] args) {
        GirlFriend girlFriend = GirlFriend.getGirlFriend();
        System.out.println(girlFriend.toString());

        NpuInf npuInf = NpuInf.getNpuInf();
        NpuInf npuInf1 = NpuInf.getNpuInf();
        System.out.println(npuInf.toString());
        System.out.println(npuInf1.toString());
    }
}
